package com.example.library.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.library.entity.Teachingquestions;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import java.util.Map;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhaoyufei
 * @since 2023-08-07
 */
public interface TeachingquestionsMapper extends BaseMapper<Teachingquestions> {
    IPage<Map<String, Object>> selectUserPageMap(Page page, @Param(Constants.WRAPPER)
            Wrapper<Teachingquestions> queryWrapper);
}
